package com.kmproject.haifu.mvp.model.entity.beans;

import java.util.List;

public class QueryAreaByLtLotBean {

    /**
     * address : {"addressComponent":{"adcode":"532331","city":"楚雄彝族自治州","city_level":2,"country":"中国","country_code":0,"country_code_iso":"CHN","country_code_iso2":"CN","direction":"","distance":"","district":"禄丰县","province":"云南省","street":"","street_number":"","town":""},"business":"","cityCode":105,"formatted_address":"云南省楚雄彝族自治州禄丰县","location":{"lat":25.123000010824427,"lng":102.33999999999997},"poiRegions":[],"pois":[],"roads":[],"sematic_description":"鲊拉田东656米"}
     * areas : []
     */

    private AddressBean address;
    private List<HousePayWayBean> areas;

    public AddressBean getAddress() {
        return address;
    }

    public List<HousePayWayBean> getAreas() {
        return areas;
    }

    public void setAreas(List<HousePayWayBean> areas) {
        this.areas = areas;
    }

    public void setAddress(AddressBean address) {
        this.address = address;
    }


    public static class AddressBean {
        /**
         * addressComponent : {"adcode":"532331","city":"楚雄彝族自治州","city_level":2,"country":"中国","country_code":0,"country_code_iso":"CHN","country_code_iso2":"CN","direction":"","distance":"","district":"禄丰县","province":"云南省","street":"","street_number":"","town":""}
         * business :
         * cityCode : 105
         * formatted_address : 云南省楚雄彝族自治州禄丰县
         * location : {"lat":25.123000010824427,"lng":102.33999999999997}
         * poiRegions : []
         * pois : []
         * roads : []
         * sematic_description : 鲊拉田东656米
         */

        private AddressComponentBean addressComponent;
        private String business;
        private int cityCode;
        private String formatted_address;
        private LocationBean location;
        private String sematic_description;
        private List<?> poiRegions;


        public AddressComponentBean getAddressComponent() {
            return addressComponent;
        }

        public void setAddressComponent(AddressComponentBean addressComponent) {
            this.addressComponent = addressComponent;
        }

        public String getBusiness() {
            return business;
        }

        public void setBusiness(String business) {
            this.business = business;
        }

        public int getCityCode() {
            return cityCode;
        }

        public void setCityCode(int cityCode) {
            this.cityCode = cityCode;
        }

        public String getFormatted_address() {
            return formatted_address;
        }

        public void setFormatted_address(String formatted_address) {
            this.formatted_address = formatted_address;
        }

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public String getSematic_description() {
            return sematic_description;
        }

        public void setSematic_description(String sematic_description) {
            this.sematic_description = sematic_description;
        }

        public List<?> getPoiRegions() {
            return poiRegions;
        }

        public void setPoiRegions(List<?> poiRegions) {
            this.poiRegions = poiRegions;
        }



        public static class AddressComponentBean {
            /**
             * adcode : 532331
             * city : 楚雄彝族自治州
             * city_level : 2
             * country : 中国
             * country_code : 0
             * country_code_iso : CHN
             * country_code_iso2 : CN
             * direction :
             * distance :
             * district : 禄丰县
             * province : 云南省
             * street :
             * street_number :
             * town :
             */

            private String adcode;
            private String city;
            private int city_level;
            private String country;
            private int country_code;
            private String country_code_iso;
            private String country_code_iso2;
            private String direction;
            private String distance;
            private String district;
            private String province;
            private String street;
            private String street_number;
            private String town;

            public String getAdcode() {
                return adcode;
            }

            public void setAdcode(String adcode) {
                this.adcode = adcode;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public int getCity_level() {
                return city_level;
            }

            public void setCity_level(int city_level) {
                this.city_level = city_level;
            }

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public int getCountry_code() {
                return country_code;
            }

            public void setCountry_code(int country_code) {
                this.country_code = country_code;
            }

            public String getCountry_code_iso() {
                return country_code_iso;
            }

            public void setCountry_code_iso(String country_code_iso) {
                this.country_code_iso = country_code_iso;
            }

            public String getCountry_code_iso2() {
                return country_code_iso2;
            }

            public void setCountry_code_iso2(String country_code_iso2) {
                this.country_code_iso2 = country_code_iso2;
            }

            public String getDirection() {
                return direction;
            }

            public void setDirection(String direction) {
                this.direction = direction;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getStreet() {
                return street;
            }

            public void setStreet(String street) {
                this.street = street;
            }

            public String getStreet_number() {
                return street_number;
            }

            public void setStreet_number(String street_number) {
                this.street_number = street_number;
            }

            public String getTown() {
                return town;
            }

            public void setTown(String town) {
                this.town = town;
            }
        }

        public static class LocationBean {
            /**
             * lat : 25.123000010824427
             * lng : 102.33999999999997
             */

            private double lat;
            private double lng;

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }
        }
    }
}
